package com.Laboratory.setting.service;

import com.Laboratory.utilPojo.projectWithStateAndTime;
import com.Laboratory.utilPojo.projectWithUrl;
import com.Laboratory.workBench.pojo.project;
import com.Laboratory.workBench.pojo.teacher;

import java.util.List;
import java.util.Map;

/**
 * @Author acok
 * @description:TODO
 * @Date 2023/1/4 16:11
 * @Version 1.0
 */
public interface _projectService {
    //根据条件分页查询项目列表
    List<projectWithStateAndTime> getProjectListByCondition(Map<String,Object> map);
    //根据条件获取列表总条数
    int getProjectListRowsByCondition(Map<String,Object>map);
    //更新项目审核状态并发送邮件给用户
    int updateProjectState(projectWithStateAndTime project,String fromAccount,String passwordCode);
    //获取项目相关文件的url相关信息
    List<projectWithUrl> getProjectFileList();
    //一键查询被拒绝项目申请
    List<project> selectInvalidProjectApply();
    //清除被拒绝项目相关信息
    int clearProjectMessageById(String id);
    //查询已经超期项目记录
    List<project> selectOverTimeProjectRecord();
    //清除过期项目相关信息
    int clearOverTimeProjectRecord(String id);
    //删除指导教师
    int deleteTeacherById(String teacherId);
    //新建指导教师
    int createTeacher(teacher teacher);
}
